package com.xykj.enterprise.wechat.event.service;

import com.xykj.enterprise.wechat.bean.ext.identity.GetPermanentCodeVo;
import com.xykj.enterprise.wechat.core.model.dodb.AuthCorp;

/**
 * @Author zhouxu
 * @create 2021-03-31 14:49
 */
public interface CorpService {

    void save(GetPermanentCodeVo getPermanentCodeVo);

    void initExtInfo(String corpid);

    AuthCorp getByCorpid(String corpid, String suiteId, String secret);

    AuthCorp refreshAccessToken(String corpid, String suiteId, String secret);
}
